using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;

namespace PSE.Hosting.ServiceHoster.Configuration
{
    /// <summary>
    /// Represents the section of the BM&FBOVESPA Service Hoster whithin a configuration file.
    /// </summary>
    internal class ServiceHosterSection : ConfigurationSection
    {
        /// <summary>
        /// The assemblies hosted by the BM&FBOVESPA Service Hoster
        /// </summary>
        [ConfigurationProperty("packages", IsDefaultCollection = true)]
        internal PackagesCollection Packages
        {
            get { return (PackagesCollection)this["packages"]; }
            set { this["packages"] = value; }
        }
    }
}
